home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
04
/
1
/
DISK0412.ZIP
/
PCYEARBK.DOC
< prev
next >
Wrap
Text File
|
1985-04-03
|
9KB
|
273 lines
PC YEARBOOK is a calendar/appointment schedule program written in C
using the De Smet C Compiler. PC Yearbook turns the PC into an
electronic appointment book. Appointments can be scheduled from
8:00 am to 6:30 pm in half-hour increments. There is also a Note Pad
to record other information.
The program as been tested on a PC with 128K, color monitor, and
with both DOS 1.1 and 2.0. The program should run on a 64K PC
with DOS 1.1 but may not run under 2.0 due to the operating system
overhead. I have not tested the program on a monochrome display
except very briefly but the program makes no use of special color
commands and should have no difficulity with the monochrome display.
You are encouraged to copy and distribute this program. If you find
this program useful, a contribution of $15 would be appreaciated. I
am especially interested in suggested improvements,bugs,comments,etc.
These may be mailed to:
Ulderic F. Racine
2520 South East Alexander Drive
Topeka, Kansas 66605
or you may leave a message on the HAWKEYE Bulletin Board, 319-363-3314
or the CUE, 913-267-1903.
-1-
PC Yearbook Page 2.
Running the program:
Before running PC Yearbook, you should check the system date. Be sure
that it is the current date as the program utliizes that date to display
the initial calendar and to store the appointment data files. If you
forget, you should exit the program and start over again.
To run the program, type PCYEARBK and press <Return>.
Calendar Function:
Each time the program is run, it will dispaly a calendar of the month
contained in the system date. Thus if you initialize the program and
have entered a date of 04-23-84, a calendar for April 1984 will be
displayed at the top left of the screen with the 23rd highlighted in
reverse video. The date will also be printed to the right of the calendar
as Monday April 23, 1984. The appointment times will be displayed below
the calendar and a lightbar will indicate the first appointment at 8:00
am.
The keys used to manipulate the calendar are:
<Cursor> keys are used to move the highlighted day on the calendar. The
Right/Left arrow keys move the date one day. The Up/Down arrow
keys move to the same day in the previous or next week. The
appointment schedule will be updated as the date is moved.
<F1> displays the month previous to the month currently displayed.
All appointment data from the currently displayed month will be
saved to disk and the data from the previous month (if any) will
be loaded into memory from disk.
<F2> displays the next month after the month currently displayed.
All appointment data from the currently displayed month will be
saved to disk and the data from the previous month (if any) will
be loaded into memory from disk.
<F3> will display the month and highlight the day/date that first
appeared when the program was run during the current session.
This allows you to return to the current date from any other
month. All appointment data from the currently displayed month
will be saved to disk and the data from the previous month (if
any) will be loaded into memory from disk.
<F4> printout appointments - See Appointment function.
<F5> accesses the Note Pad - See Note Pad function.
<F10> to exit PC Yearbook and return to DOS. All appointment data
from the currently displayed month and notes in the Note Pad
will be saved to disk.
PC Yearbook Page 3.
Appointment Schedule Function:
The appointment schedule allows appointments from 8:00 am to 6:30 pm
for each day. Each appointment may be up to 32 characters of text and
is active whenever the calendar is displayed.
The keys to use the appointment function are:
<Spacebar> moves the highlighted bar beginning at 8:00 am to the next
appointment. The highlighted bar indicates the current cursor
position for adding or deleting an appointment.
<Ins> opens an appointment time at the current position of the
highlighted bar for input of appointment text. The text is
limited to a maximum of 32 characters. If you use all 32
characters, the program will generate an automatic carriage
return and will turn off the cursor otherwise you must press
<Return> to terminate the entry of the text.
<Del> deletes any appointment text at the current position of the
highlighted bar.
<Return> terminates the entry of appointment text if the text is less
than 32 characters.
<Backspace> or the left arrow key will delete the previous character
of text during entry of appointment text.
<F4> allows you to printout a specific date or the entire month of
the appointment schedule. When this key is pressed, the days
of the current month will be displayed over the appointment
schedule in three columns. Use the <Spacebar> to move the
cursor. Pressing the <Return> will select the day for printing.
A small graphic block will appear in place of the cursor
indicating that the day has been selected. If the day has
already been slected, pressing <Return> will erase the
selection. Pressing the <Spacebar> on a day will not alter the
selection. When your selections have been made, press <Esc> to
printout the appointment schedule for the days selected. If no
days are selected, the program returns to the calendar/schedule
function. The printout will contain a maximum of four days per
page in date order regardless of the order of selection.
Appointment Data Files:
Appointment data is stored on the disk in the default drive. A file is
created for each month using the naming format of MMMYYAPT.DAT with the
first three characters being the first three in the name of the month and
the next two the last two digits of the year. Thus data for April 1984
would be stored in a file named APR84APT.DAT.
PC Yearbook Page 4.
The amount of disk space required to store a month's data is dependent
upon the number of appointments scheduled. The maximum size is about 23K
which would represent an appointment scheduled for each half-hour for the
entire month. A 320K diskette should have no problems containing an
entire year of data.
Note Pad Function:
The Note Pad provides four pages of fifteen lines to store notes and
other textual information that you do not wish to put on the appointment
schedule. Each line can be up to 70 characters long.
The Note Pad is always resident and available. It is not date dependent.
The keys to use the Note Pad function are:
<PgUp> displays the previous page in the Note Pad. If you are on page
1, it will wrap around to page 4.
<PgDn> displays the next page in the Note Pad. If you are on page 4, it
will wrap around to page 1.
<Spacebar> moves the lighlighted bar on the Note Pad. It indicates the
cursor position for adding or deleting a note.
<Ins> opens a Note Pad line at the current position of the highlighted
bar for input of note text. The text is limited to a maximum of
70 characters. If you use all 70 characters, the program will
generate an automatic carriage return and will turn off the cursor
otherwise you must press <Return> to terminate the entry of the
text.
<Del> deletes a line of text on the Note Pad at the current position
of the highlighted bar.
<Return> terminates the entry of Note Pad text if the text is less than
70 characters.
<Backspace> or the left arrow key will delete the previous character
of text during entry of Note Pad text.
<Esc> exits the Note Pad and returns to the calendar/appointment
functions.
<F5> printouts out the Note Pad. On the printout, the notes are
printed from 1 to 60 without page indications as they are
displayed on the screen.
printed from 1 to 60 with